#include <iostream>

int main() {
    int n,x,i;
    scanf("%d",&n);
    for (i = 1; i <= 10; i++) {
        printf("%d * %d = %d\n",n,i,n*i);
    }
    return 0;
}
